Raspberry Pi Measurement Electronics: hardware and software by Magda Yury
Author:Magda, Yury [Magda, Yury]
Language: eng
Format: azw3, epub
Publisher: Yury Magda
Published: 2014-04-06T16:00:00+00:00
Fig.35
Note that the Ready state is latched on each falling edge of CS and will not dynamically update if CS is held low. CS must be toggled high then low to fix the Ready state.
The Python source code for driving that ADC is given in Listing 13.
Listing 13.
import RPi.GPIO as GPIO
CS = 18 # GPIO18 is CS
SDO = 23 # GPIO23 is SDO
SCK = 24 # GPIO24 is SCK
Vref = 3.29 # Vref = 3.29V
GPIO.setwarnings(False);
GPIO.setmode(GPIO.BCM) # using GPIO numbers rather than pin numbers
GPIO.setup(CS, GPIO.OUT) # set GPIO18 as output
GPIO.setup(SDO, GPIO.IN) # set GPIO23 as output
GPIO.setup(SCK, GPIO.OUT) # set GPIO24 as output
Download
Raspberry Pi Measurement Electronics: hardware and software by Magda Yury.epub
This site does not store any files on its server. We only index and link to content provided by other sites. Please contact the content providers to delete copyright contents if any and email us, we'll remove relevant links or contents immediately.
Hello! Python by Anthony Briggs(9928)
The Mikado Method by Ola Ellnestam Daniel Brolund(9791)
Dependency Injection in .NET by Mark Seemann(9348)
Sass and Compass in Action by Wynn Netherland Nathan Weizenbaum Chris Eppstein Brandon Mathis(7792)
The Well-Grounded Java Developer by Benjamin J. Evans Martijn Verburg(7570)
Svelte with Test-Driven Development by Daniel Irvine(7286)
Test-Driven Development with PHP 8 by Rainier Sarabia(7024)
Layered Design for Ruby on Rails Applications by Dementyev Vladimir;(6879)
Secrets of the JavaScript Ninja by John Resig & Bear Bibeault(6541)
Secrets of the JavaScript Ninja by John Resig Bear Bibeault(6427)
Web Development with Django by Ben Shaw Saurabh Badhwar(6342)
React Application Architecture for Production by Alan Alickovic(6064)
Jquery UI in Action : Master the concepts Of Jquery UI: A Step By Step Approach by ANMOL GOYAL(5816)
Kotlin in Action by Dmitry Jemerov(5076)
Audition by Ryu Murakami(4594)
Software Architecture for Web Developers by Mihaela Roxana Ghidersa(4520)
Accelerating Server-Side Development with Fastify by Manuel Spigolon Maksim Sinik & Matteo Collina(4367)
Hands-On Full-Stack Web Development with GraphQL and React by Sebastian Grebe(4323)
Solidity Programming Essentials by Ritesh Modi(4072)
